import { RouterProvider } from "react-router-dom"
import globalRouter from "@/router/globalRouter"

// 将创建好的路由实例传递给 RouterProvider 的 router 属性，实现了路由跳转
function Routers() {
  return <RouterProvider router={globalRouter} />
}

export default Routers
